﻿using FastORM.Definition;
using FastORM.Entity;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Text;

namespace FastORM.Definition
{
    public interface IFastExecute : IFastDB
    {
        public DbConnection CreateConnection(string ConnectionString);
        public DataTable ExecuteQuery(string ConnectionString, string SQLText, List<ParamEntity> Params);
        public int ExecuteNoQuery(string ConnectionString, string SQLText, List<ParamEntity> Params);
        public Object ExecuteScar(string ConnectionString, string SQLText, List<ParamEntity> Params);
    }
}
